package cn.laixueit.po;

import cn.laixueit.basepo.BaseEntity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data;

import java.io.Serializable;

/**
 * @author duxiang
 * @date 2024/2/21 16:53
 */
@Data
@Table("tb_bookchapter")
public class TbBookChapter extends BaseEntity implements Serializable {
    @Id(keyType = KeyType.Generator,value = KeyGenerators.flexId)
    private String id;
    private String name;
    private String bookId;
    private Boolean isPay;
    private Integer sort;
}
